{//咨询主任 坏账审核模板文件}
<include file="Public:header" />
<load file="__ROOT__/js/datepick/jquery.datepick.css" />
<load file="__ROOT__/js/datepick/jquery.datepick.js" />
<load file="__ROOT__/js/datepick/jquery.datepick-zh-CN.js" />
<script type="text/javascript">
    $(function(){
        $(document).ready(function(){
            $('#begin_day').datepick({dateFormat: 'yy_mm_dd'});
            $('#stop_day').datepick({dateFormat: 'yy_mm_dd'});
        });
        $('[name=stu_id]').focus();
        $('#save').click(function(){
            if(check()){
                $("form:first").submit();
            }
        });

        function isNumber(field)
         {
            var   Ret   =   true;
            var   NumStr= "0123456789 ";
            var   chr;
            for   (i=0;i <field.length;++i)
            {
            chr=field.charAt(i);
            if   (NumStr.indexOf(chr,0)==-1)
            {
            Ret=false;
            }
            }
            return(Ret);
        }
    });
</script>
<div class="body">
    <b>咨询主任坏账审核：</b>提示：请填写审核意见，并选择同意或不同意
    <br />
    
    <br />
    <table width="600" border="1" cellpadding="0" cellspacing="0" style="border-collapse:collapse" bordercolor="#000000">
        <tr style="color:blue;font-weight: bold;">
            <td width="10%" align="center">学员姓名</td>
            <td width="10%" align="center">性别</td>
            <td width="20%" align="center">录入时间</td>
            <td width="20%" align="center">提档时间</td>
            <td width="20%" align="center">坏账时间</td>
            <td width="30%" align="center">操&nbsp;&nbsp;&nbsp;&nbsp;作</td>
        </tr>
        <foreach name="list" item="vo">
            <tr>
                <td width="10%" align="center">{$vo.stu_name}</td>
                <td width="10%" align="center">{$vo.stu_sex}</td>
                <td width="20%" align="center">{$vo.stu_inputtime}</td>
                <td width="20%" align="center">{$vo.td_time}</td>
                <td width="20%" align="center">{$vo.hd_input_time}</td>
                <td width="30%" align="center">
                    [<a href="{:U('ppts/xj_view_huaizhang_stu_htinfo?id='.$vo['stu_id'])}">合同查看</a>]
            <php>
                if($vo['huaizhang']==0)
                    echo '&nbsp;&nbsp;[<a href="__APP__/ppts-zxzhuren_huaizhang_shenhe_input?id='.$vo['hd_id'].'&TB_iframe=true&height=300&width=405" class="thickbox">审核</a>]';
                    else
                    echo '<a href="__APP__/ppts-zx_huaizhang_style?id='.$vo['stu_id'].'&TB_iframe=true&height=300&width=405" class="thickbox"><font color="red">[已审]</font></a>';
            </php>
                    
                </td>
            </tr>
        </foreach>
        <tr>
            <td width="100%" align="right" colspan="6">{$page}</td>
        </tr>
    </table>
    <br />
</div>
<include file="Public:ender" />